﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="Cn.Cellula.Website.Admin.Content.Dept.List" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" rel="Stylesheet" href="/Cellula_Client/Controls/Category.css" />

    <script type="text/javascript" src="/cellula_client/Controls/CategoryFunc.js"></script>

    <script type="text/javascript" src="/jskit.org/Server/JskitXmlHttp.js"></script>

    <link type="text/css" rel="Stylesheet" href="/Cellula_Client/Controls/JskitFileUpload.css" />

    <script type="text/javascript" src="/Cellula_client/Controls/JskitFileUpload.js"></script>

    <script type="text/javascript">
        var jfu = new JskitFileUpload("jfu");
        jfu.setModeName("<%=ModelName %>");
        jfu.setFilePattern(".jpg|.png|.jpeg|.bmp|.gif");
        function showPicPanel(sender) {
            jfu.setModelKey(sender.getAttribute("pid"));
            jfu.display();
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPH_PageTitle" runat="server">
部门管理
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="CPH_MainBody" runat="server">
    <asp:Label runat="server" ID="lab_DeptData"></asp:Label>
    <div>
        <asp:Label runat="server" ID="lab_info"></asp:Label>
    </div>
    <table width="100%">
        <tr>
            <td>&nbsp;
            </td>
            <td>
                <div class="action_bar">
                    <asp:Button ID="btn_type_add" runat="server" Text="增加" OnClick="btn_type_add_Click" />
                    <asp:Button ID="btn_type_update" runat="server" Text="修改" OnClientClick="return acu.gv.checkCbxModify('cbx_Dept');"
                        OnClick="btn_type_update_Click" />
                    <asp:Button ID="btn_type_delete" runat="server" Text="删除" OnClientClick="return acu.gv.checkCbxDelete('cbx_Dept');"
                        OnClick="btn_type_delete_Click" />
                </div>
            </td>
        </tr>
    </table>
    <fieldset>
        <legend>部门列表</legend>
        <asp:Label runat="server" ID="lab_List"></asp:Label>
        <div id="DeptGridviewBox">
        </div>

        <script type="text/javascript">
            var cf = new CategoryFunc("cf");
            if (typeof (DeptData) == "object") {
                cf.displayGridView("DeptGridviewBox", DeptData,"Admin/Content/Dept/Edit.aspx");
            }
        </script>

    </fieldset></asp:Content>
